class CreateLibraryBorrowRecords < ActiveRecord::Migration
  def change
    create_table :library_borrow_records do |t|
      t.primary_key :id
      t.integer :library_document_id
      t.integer :student_id
      t.datetime :borrowed_on
      t.datetime :due_date
      t.datetime :returned_on
      t.string :status, :default => '1'
      t.text :description
    end
  end
end
